package main

import "fmt"

/**
 * @Description
 * @Author huran
 * @Date
 * @Param
 * @return
 **/
func Array() {
	a1 := [3]int{4, 5, 6}
	fmt.Printf("a1:%v,len=%d,cap=%d\n", a1, len(a1), cap(a1))
	a2 := [3]int{4, 5}
	fmt.Printf("a2:%v,len=%d,cap=%d\n", a2, len(a2), cap(a2))
	a3 := [3]int{}
	fmt.Printf("a3:%v,len=%d,cap=%d\n", a3, len(a3), cap(a3))
}

func main() {
	Slice()
}
